home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / filename.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  4.6 KB  |  130 lines

  1. [LANGUAGE english; PARENT index; PAGE 8]
  2. [C;6;B]        <filename>
  3. [J;1;N]
  4.   You directly can start your command line with the name of an \
  5. object file or an executable. lk is in DEFAULT state at start. \
  6. You may see that instruction for more informations:
  7. [C;3;LINK default]        DEFAULT
  8. [J;1]
  9.   The file types are defined in following table:
  10. [7]
  11.  Precedent Keyword                File Type
  12. [L;2]<none> ..................... (s) multiple objects
  13. ATTRIBUTES <value> ......... (s) multiple objects
  14. CHIP ....................... (s) multiple objects
  15. DEFAULT .................... (s) multiple objects
  16. ERRORFILE .................. (d) error output
  17. FAST ....................... (s) multiple objects
  18. FD ......................... (s) multiple deffiles
  19. FDLIB ...................... (s) multiple deffiles
  20. FD/FDLIB + FDHEADER ........ (d) include file
  21.            FDINCLUDE ....... (d) include file
  22.            FDOBJECT ........ (d) library object
  23.            FDPASCAL ........ (d) include file
  24. FOR ........................ (d) object
  25. FROM/ROOT .................. (s) object or exec.
  26. ICON ....................... (s) icon (.info)
  27. LIBFD ...................... (s) one deffile
  28. LIBRARY .................... (s) object
  29. LIST ....................... (d) list output
  30. OVERLAY/END ................ (s) multiple objects
  31. OVERLAYOBJECT .............. (s) object
  32. PUBLIC ..................... (s) multiple objects
  33. TO ......................... (d) executable
  34. WITH ....................... (s) lk source file
  35. XREF ....................... (d) reference file
  36. [J;4; INDENT 10]
  37.       (s) stands for source file (Always safe)
  38.       (d) stands for destination file (Will be overwritten)
  39. [1; INDENT]
  40.   Other keywords cannot be followed by a file name (Note \
  41. that equivalent keywords were not listed here.) See each \
  42. of them for more explanations.
  43.   The reference, list and error files are text files.
  44.  
  45.   With AmigaDOS V36.00 and over, a keyword followed by multiple \
  46. sources may use a file name containing wild cards. All normal \
  47. DOS wild cards are supported. The research is also made into \
  48. each directory of a multiple assign and the assign might be \
  49. defered.
  50.   A keyword, which has to receive only a single source file, \
  51. will generate a warning (Except with QUIET), and keep only the \
  52. first file responding to the wild card(s).
  53.   Only source file names can include wild card(s).
  54. [5]
  55.   IMPORTANT NOTE ABOUT WILD CARDS:
  56. [1]
  57.   The next command line is fully supported:
  58. [2]    LK FROM main.o #?.o TO myprog LIB amiga.lib
  59. [1]
  60. even the pattern #?.o will return main.o, lk will not \
  61. link that file twice. However, only FROM and ROOT instructions \
  62. enables a such comparaison. For 'CHIP/FAST programs' it should \
  63. become:
  64. [2]    LK ROOT main.o #?.o CHIP chip/#?.o
  65. [R]    FAST fast/#?.o TO myprog LIB amiga.lib
  66. [J;1]  or
  67. [2]    LK ROOT main.o #?.o CHIP #?.chip
  68. [R]    FAST #?.fast TO myprog LIB amiga.lib
  69. [J;1]
  70. (Note: The FROM/ROOT instructions are declared before '#?.o' \
  71. and the AUTO??? keywords could be used instead of CHIP/FAST \
  72. keywords, thank you to refer you to those commandes.)
  73.  
  74.   For any source file, lk uses paths to read files without \
  75. patterns. For more informations about paths, please refer \
  76. you to:
  77. [C;3]        PATHS
  78. [1]
  79.   lk have a generator for the destination file name. You can \
  80. refer to FROM/ROOT for more informations.
  81.  
  82.   The memory requirement or advisory state must appear before \
  83. a file name to be effective. You can change those as much as \
  84. you want. The following are possible usages:
  85. [2]    CHIP SETADVISORY <filename>
  86.     FAST CLEARADVISORY ROOT <filename>
  87.     HUNKADVISORY ATTRIBUTES $10040
  88. [R]        LIBRARY <filename>
  89. [J;1]
  90.   See also:
  91. [L;3][LINK attributes]            ATTRIBUTES
  92. [LINK autochip]                AUTOCHIP
  93. [LINK autofd]                AUTOFD
  94. [LINK autofast]                AUTOFAST
  95. [LINK autolibrary]            AUTOLIBRARY
  96. [LINK autooverlay]            AUTOOVERLAY
  97. [LINK chip]                CHIP
  98. [LINK advisory]                CLEARADVISORY
  99. [LINK default]                DEFAULT
  100. [LINK errorfile]            ERRORFILE
  101. [LINK fast]                FAST
  102. [LINK fd]                FD
  103. [LINK fdflg]                FDHEADER
  104. [LINK fdflg]                FDINCLUDE
  105. [LINK fdlib]                FDLIB
  106. [LINK fdflg]                FDOBJECT
  107. [LINK fdflg]                FDPASCAL
  108. [LINK paths]                FDPATH
  109. [LINK for]                FOR
  110. [LINK from]                FROM/ROOT
  111. [LINK icon]                ICON
  112. [LINK paths]                ICONPATH
  113. [LINK advisory]                HUNKADVISORY
  114. [LINK advisory]                LEFTADVISORY
  115. [LINK libfd]                LIBFD
  116. [LINK paths]                LIBPATH
  117. [LINK library]                LIBRARY
  118. [LINK list]                LIST
  119. [LINK nopath]                NOPATH
  120. [LINK paths]                OBJPATH
  121. [LINK overlay]                OVERLAY/END
  122. [LINK overlayobject]            OVERLAYOBJECT
  123. [LINK public]                PUBLIC
  124. [LINK advisory]                SETADVISORY
  125. [LINK to]                TO
  126. [LINK with]                WITH
  127. [LINK paths]                WITHPATH
  128. [LINK xref]                XREF
  129. [5; LINK about; GOTO address]        Become Registred
  130.